//
//  QuestionViewController.m
//  智慧银行
//
//  Created by rimi on 15/9/28.
//  Copyright (c) 2015年 weilai. All rights reserved.
//

#import "QuestionViewController.h"

@interface QuestionViewController ()
@property (nonatomic, strong)UIImageView *imageView;
@property (nonatomic, strong)UIButton *sendBtn;
- (void)initializeUserInterface;
@end

@implementation QuestionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initializeUserInterface];
}

#pragma mark - init
- (void)initializeUserInterface{
    self.view.backgroundColor = BACK_COLOR;
    self.headView.image = [UIImage imageNamed:@"业务咨询logo.png"];
    [self.view addSubview:self.imageView];
}




#pragma mark - getter
- (UIImageView *)imageView{

    if (!_imageView) {
        _imageView = ({
            UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(60, 50, 580, 277)];
            imageView.image = [UIImage imageNamed:@"大额预约选中框2.png"];
            imageView;
        });
    }
    return _imageView;
}
- (UIButton *)sendBtn{

    if (!_sendBtn) {
        _sendBtn = ({
            UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
            btn.frame = CGRectMake(550, 345, 100, 35);
            [btn setImage:[UIImage imageNamed:@"发送_05.png"] forState:UIControlStateNormal];
            [btn setImage:[UIImage imageNamed:@"发送_05.png"] forState:UIControlStateSelected];
            btn;
        });
    }
    return _sendBtn;
}

@end
